﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace m
{
    public partial class Form3 : Form
    {
        public Form3()
        {
            InitializeComponent();
        }

        private void Form3_Load(object sender, EventArgs e)
        {
            //int a = Convert.ToInt32(textBox1.Text);
            //string b = Convert.ToString(a, 2);
            //textBox3.Text = b;
            //string c = Convert.ToString(a, 8);
            //textBox2.Text = c;
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

  

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void textBox3_TextChanged(object sender, EventArgs e)
        {
    
        }

        private void button1_Click(object sender, EventArgs e)
        {
            int a = Convert.ToInt32(textBox1.Text);
            string b = Convert.ToString(a, 2);
            textBox3.Text = b;
            string c = Convert.ToString(a, 8);
            textBox2.Text = c;
        }

 
    }
}
